package com.ruoyi.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.cms.entity.domain.Model;
import org.apache.ibatis.annotations.Mapper;

/**
 * 模型Mapper接口
 */
@Mapper
public interface ModelMapper extends BaseMapper<Model> {

    void addLikeNum(Long modelId);

    void subtractLikeNum(Long modelId);

    void addFavoriteNum(Long modelId);

    void subtractFavoriteNum(Long modelId);
}
